<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <ui:composition >

        <p:panel id="addresspanel" header="Shipping Details">
            <h:panelGroup >
                <p:fieldset legend="Destination" >
                    <h:outputText value="#{shippingOrderEntityController.selected.address.address}" />
                </p:fieldset>
                <p:dataList id="addresslist" value="#{shippingRequestEntityController.shippingRequestsForPackingOrder}" 
                             var="shippingrequest" paginator="false"> 
                    <p:column >  
                        <h:outputText value="#{shippingrequest.product}: " />
                        <h:outputText value="#{shippingrequest.quantity}" />                
                    </p:column>
                </p:dataList>

            </h:panelGroup>
        </p:panel>
    </ui:composition>

</html>
